package org.example;

public class SearchAdapter implements DataOperation {
    private BinarySearch binarySearch;

    public SearchAdapter() {
        this.binarySearch = new BinarySearch();
    }

    @Override
    public void Sort(int[] array) {
    }

    @Override
    public int search(int[] array, int target) {
        return binarySearch.binarySearch(array, target);
    }
}
